Namespaces

Types in MathNet.Numerics.LinearAlgebra.Storage

Type DenseColumnMajorMatrixStorage<T>

Namespace MathNet.Numerics.LinearAlgebra.Storage

Parent MatrixStorage<T>

Static Functions

Methods

Properties

Fields

Public Static Functions

DenseColumnMajorMatrixStorage<T> OfArray(T[,] array)

DenseColumnMajorMatrixStorage<T> OfColumnArrays(T[][] data)

DenseColumnMajorMatrixStorage<T> OfColumnEnumerables(int rows, int columns, IEnumerable<IEnumerable<T>> data)

DenseColumnMajorMatrixStorage<T> OfColumnMajorArray(int rows, int columns, T[] data)

DenseColumnMajorMatrixStorage<T> OfColumnMajorEnumerable(int rows, int columns, IEnumerable<T> data)

DenseColumnMajorMatrixStorage<T> OfColumnVectors(VectorStorage`1[] data)

DenseColumnMajorMatrixStorage<T> OfDiagonalInit(int rows, int columns, Func<int, T> init)

DenseColumnMajorMatrixStorage<T> OfIndexedEnumerable(int rows, int columns, IEnumerable<Tuple<int, int, T>> data)

DenseColumnMajorMatrixStorage<T> OfInit(int rows, int columns, Func<int, int, T> init)

DenseColumnMajorMatrixStorage<T> OfMatrix(MatrixStorage<T> matrix)

DenseColumnMajorMatrixStorage<T> OfRowArrays(T[][] data)

DenseColumnMajorMatrixStorage<T> OfRowEnumerables(int rows, int columns, IEnumerable<IEnumerable<T>> data)

DenseColumnMajorMatrixStorage<T> OfRowMajorArray(int rows, int columns, T[] data)

DenseColumnMajorMatrixStorage<T> OfRowMajorEnumerable(int rows, int columns, IEnumerable<T> data)

DenseColumnMajorMatrixStorage<T> OfRowVectors(VectorStorage`1[] data)

DenseColumnMajorMatrixStorage<T> OfValue(int rows, int columns, T value)

Public Methods

T[,] AsArray()

T[][] AsColumnArrays()

T[] AsColumnMajorArray()

T[][] AsRowArrays()

T[] AsRowMajorArray()

T At(int row, int column)

Retrieves the requested element without range checking.

void At(int row, int column, T value)

Sets the element without range checking.

void Clear()

void Clear(int rowIndex, int rowCount, int columnIndex, int columnCount)

void ClearColumns(Int32[] columnIndices)

void ClearRows(Int32[] rowIndices)

void CopyColumnTo(VectorStorage<T> target, int columnIndex, ExistingData existingData)

void CopyRowTo(VectorStorage<T> target, int rowIndex, ExistingData existingData)

void CopySubColumnTo(VectorStorage<T> target, int columnIndex, int sourceRowIndex, int targetRowIndex, int rowCount, ExistingData existingData)

void CopySubMatrixTo(MatrixStorage<T> target, int sourceRowIndex, int targetRowIndex, int rowCount, int sourceColumnIndex, int targetColumnIndex, int columnCount, ExistingData existingData)

void CopySubRowTo(VectorStorage<T> target, int rowIndex, int sourceColumnIndex, int targetColumnIndex, int columnCount, ExistingData existingData)

void CopyTo(MatrixStorage<T> target, ExistingData existingData)

IEnumerable<T> Enumerate()

IEnumerable<ValueTuple<int, int, T>> EnumerateIndexed()

IEnumerable<T> EnumerateNonZero()

IEnumerable<ValueTuple<int, int, T>> EnumerateNonZeroIndexed()

bool Equals(object obj)

Determines whether the specified Object is equal to the current Object.
Parameters
object obj

The Object to compare with the current Object.

Return
bool

true if the specified Object is equal to the current Object ; otherwise, false.

bool Equals(MatrixStorage<T> other)

Indicates whether the current object is equal to another object of the same type.
Parameters
MatrixStorage<T> other

An object to compare with this object.

Return
bool

true if the current object is equal to the other parameter; otherwise, false.

Tuple<int, int, T> Find(Func<T, bool> predicate, Zeros zeros)

Tuple<int, int, T, TOther> Find2<TOther>(MatrixStorage<T> other, Func<T, TOther, bool> predicate, Zeros zeros)

TState Fold2<TOther, TState>(MatrixStorage<T> other, Func<TState, T, TOther, TState> f, TState state, Zeros zeros)

void FoldByColumn<TU>(TU[] target, Func<TU, T, TU> f, Func<TU, int, TU> finalize, TU[] state, Zeros zeros)

The state array will not be modified, unless it is the same instance as the target array (which is allowed).

void FoldByRow<TU>(TU[] target, Func<TU, T, TU> f, Func<TU, int, TU> finalize, TU[] state, Zeros zeros)

The state array will not be modified, unless it is the same instance as the target array (which is allowed).

int GetHashCode()

Serves as a hash function for a particular type.
Return
int

A hash code for the current Object.

Type GetType()

bool IsMutableAt(int row, int column)

True if the specified field can be set to any value. False if the field is fixed, like an off-diagonal field on a diagonal matrix.

void Map2To(MatrixStorage<T> target, MatrixStorage<T> other, Func<T, T, T> f, Zeros zeros, ExistingData existingData)

void MapIndexedInplace(Func<int, int, T, T> f, Zeros zeros)

void MapIndexedTo<TU>(MatrixStorage<T> target, Func<int, int, T, TU> f, Zeros zeros, ExistingData existingData)

void MapInplace(Func<T, T> f, Zeros zeros)

void MapSubMatrixIndexedTo<TU>(MatrixStorage<T> target, Func<int, int, T, TU> f, int sourceRowIndex, int targetRowIndex, int rowCount, int sourceColumnIndex, int targetColumnIndex, int columnCount, Zeros zeros, ExistingData existingData)

void MapTo<TU>(MatrixStorage<T> target, Func<T, TU> f, Zeros zeros, ExistingData existingData)

T[,] ToArray()

T[][] ToColumnArrays()

T[] ToColumnMajorArray()

T[][] ToRowArrays()

T[] ToRowMajorArray()

string ToString()

void TransposeTo(MatrixStorage<T> target, ExistingData existingData)

Public Properties

bool IsDense get;

True if the matrix storage format is dense.

bool IsFullyMutable get;

True if all fields of this matrix can be set to any value. False if some fields are fixed, like on a diagonal matrix.

T Item get; set;

Public fields

T[] Data

return T[]

int RowCount

return int

int ColumnCount

return int